package com.topvision.common.enumeration;
/**
 *
 * @Title: OfficeType
 * @Package com.topvision.common.enumeration
 * @Description: 机构类型
 * @author shengwm
 * @date 2017/4/18 13:49
 * @version V0.0.1
 */
public enum OfficeType implements BaseEnum {
    COMPANY("company", "公司"),
    department("department", "部门"),
    GROUP("group", "小组");

    private final String value;
    private final String label;

    OfficeType(String value, String label) {
        this.value = value;
        this.label = label;
    }

    /**
     * 获取值
     *
     * @return
     */
    @Override
    public String getValue() {
        return value;
    }

    /**
     * 获取标签
     *
     * @return
     */
    @Override
    public String getLabel() {
        return label;
    }
}
